from twisted.web import server, resource
from twisted.internet import reactor

class Simple(resource.Resource):
	isLeaf = True
	def render_GET(self, request):
		print (request.path)
		return "<html>Hello, world!<br />"+str(request)+"</html>"


def ServerWebFactory():
	site = server.Site(Simple())
	return site

